-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
pygbag: add page #18464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
pygbag: add page #18464
Conversation
Add tldr page for pygbag - a tool for packaging Pygame games as WebAssembly. pygbag allows Python/Pygame games to run directly in web browsers without requiring users to install anything. It compiles projects to WebAssembly and includes a built-in test server for local testing. Closes tldr-pages#17002
Co-authored-by: Managor <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had a recent change to the option order #18491. Would you mind changing the order and testing to make sure the commands work?
What I Fixed Based on the tldr style guide PR tldr-pages#18491 that standardized argument order, I made these corrections: Rule: Positional arguments (like {{path/to/project_folder}}) must come BEFORE option flags and options with arguments.
can u please approve this pr too it will be a help for me too |
|
||
`pygbag {{path/to/project_folder}} --template {{template_name.tmpl}}` | ||
|
||
- Package and create a ZIP archive for itch.io: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Package and create a ZIP archive for itch.io: | |
- Package and create a ZIP archive for <https://itch.io>: |
|
||
`pygbag {{path/to/project_folder}} --port {{8080}}` | ||
|
||
- Display help information: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, we prefer generic wording
Display help
- Display help information: | |
- Display help: |
Add tldr page for pygbag - a tool for packaging Pygame games as WebAssembly.
pygbag allows Python/Pygame games to run directly in web browsers without requiring users to install anything. It compiles projects to WebAssembly and includes a built-in test server for local testing.
Closes #17002
Command Added
Features Documented
common
,linux
,osx
,windows
,sunos
,android
, etc.